package com.jsmtr.rms.service;

import java.util.List;
import java.util.Map;

import com.jsmtr.rms.entity.*;

public interface IDoResumeService {

    Map<String, Object> getResumes(int page, int perpage, Map<String, Object> param, DUserResume resume) throws Exception;

    List<DUserResume> getResumes(String[] ids) throws Exception;

    List<DUserResume> getResumes(String pid) throws Exception;

    DUserResume getDUserResume(String id) throws Exception;

    BaseConfig getBaseConfig(String code) throws Exception;

    UserResume getUserResume(String cardno) throws Exception;

    UserResume gUserResume(String id) throws Exception;

    NZResume getNZResume(String id) throws Exception;

    UserResume gUserResumeByUid(String uid) throws Exception;

    List<DUserEducation> getUserEducation(String rid) throws Exception; //教育背景

    List<DUserWorkExperience> getUserWorkExperience(String rid) throws Exception; //工作经验

    List<DUserTraining> getUserTraining(String rid) throws Exception; //培训经历

    List<DUserResume> getDUserResumes(String pid, String[] ids) throws Exception;

    /**
     * 获得配置信息
     *
     * @param code 配置编号
     * @return 配置内容
     * @throws Exception
     */
    String getConfig(String code) throws Exception;

    List<DUserRewardPunishment> getUserRewardPunishment(String rid) throws Exception; //获奖信息

    List<DUserFamily> getUserFamily(String rid) throws Exception; //家庭成员

    List<UserEducation> getUserEducation1(String rid) throws Exception; //教育背景

    List<UserWorkExperience> getUserWorkExperience1(String rid) throws Exception; //工作经验

    List<UserTraining> getUserTraining1(String rid) throws Exception; //培训经历

    List<UserRewardPunishment> getUserRewardPunishment1(String rid) throws Exception; //获奖信息

    List<UserFamily> getUserFamily1(String rid) throws Exception; //家庭成员

    List<UserPaper> getUserPaper(String rid) throws Exception; //发表论文

    List<UserAppend> getUserAppend(String cardno) throws Exception;

    List<UserAppend> findUserAppendByCardNo(String cardno) throws Exception;

    UserAppend getUserAppendByType(String cardno,String type) throws Exception;

    List<DUserMajor> getUserMajor(String rid) throws Exception; //家庭成员

    List<UserMajor> getUserMajor1(String rid) throws Exception; //家庭成员

    boolean AllowSendResume(String pid, String userid) throws Exception;

    ProjectInfoFlow getFirstFlow(String pid) throws Exception;

    ProjectInfoJobs getProjectJobs(String id) throws Exception;

    BaseDepartment getBaseDept(String name) throws Exception;

    BaseJob getBaseJob(String deptcode,String name) throws Exception;

    DUserResume getDResume(String userid, String proid) throws Exception;

    HRZZUser getUser(String pid, String code) throws Exception;

    List<DUserResume> getDResumeByCardNo(String cardNo, String proid) throws Exception;

    List<DUserResume> getDResumeByCardNoAllState(String cardNo, String proid) throws Exception;

    List<DUserResume> getDResumeByJob(String jname,String proid) throws Exception;

    List<Map<String, Object>> getDResumeByCardNo(String cardNo) throws Exception;

    List<Map<String,Object>> getDResumeFlowsInfo(String userid) throws Exception;

    List<Map<String,Object>> getZZUserDResumeFlowsInfo(String userid) throws Exception;

    Map<String, Object> getResumesMap(int page, int perpage, Map<String, Object> param, DUserResume resume) throws Exception;

    Map<String, Object> getMSResumesMap(int page, int perpage, Map<String, Object> param, DUserResume resume) throws Exception;

    Map<String, Object> getBSResumesMap(int page, int perpage, Map<String, Object> param, DUserResume resume) throws Exception;

    Map<String, Object> getOPResumesMap(int page, int perpage, Map<String, Object> param, DUserResume resume) throws Exception;

    List<DUserResume> getDUserResumeByUserid(String[] ids) throws Exception;

    DUserResume getDUserResumeByUserid(String pid,String uid) throws Exception;

    List<Map<String,Object>> getRecommendHistory(String cardNo) throws Exception;

    DoSSUser getSsUser(String fid, String uid) throws Exception;

    List<DoSSUser> getSsUserByUserID(String[] ids) throws Exception;
}
